package com.etime.shycourse.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.shycourse.dto.CouponreciveDto;
import com.etime.shycourse.pojo.Couponrecive;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author wb
 * @since 2022-03-15
 */
@Repository
public interface CouponreciveMapper extends BaseMapper<Couponrecive> {
    /**
     * 优惠券使用记录日志 分页
     * <p></p>
     * 查询的条件:可根据
     * 优惠劵名模糊搜索 coupontitle
     * 优惠券使用状态 couponrecivestate
     * 领取时间区间 one two
     * 优惠券编号 couponno
     *
     * @param page            一
     * @param couponreciveDto
     * @return Page<CouponlogDto>
     */
    Page<CouponreciveDto> selectCouponreciveDtoPage(CouponreciveDto couponreciveDto, Page<CouponreciveDto> page);
}
